package com.tjbank.cssys.entityext;



import com.tjbank.cssys.framework.base.dto.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 机构节点
 * 
 * Package : com.tansun.magicube.iam.entityext
 * 
 * @author -- lijiangtao 2020年7月6日 下午6:21:27
 *
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class OrganNode extends BaseDTO {

    /** ❤❤❤❤❤ */
    private static final long serialVersionUID = 1L;

    private String tenantCode;

    private Integer lft;

    private Integer rgt;

    private Integer num;

    private int indexNo;

    private int pageSize;

    private String nodeId;

    public OrganNode(String nodeId, int indexNo, int pageSize) {
        super();
        this.nodeId = nodeId;
        this.indexNo = indexNo;
        this.pageSize = pageSize;
    }

    public OrganNode(Integer lft, Integer rgt, String tenantCode, int indexNo, int pageSize) {
        super();
        this.lft = lft;
        this.rgt = rgt;
        this.tenantCode = tenantCode;
        this.indexNo = indexNo;
        this.pageSize = pageSize;
    }
}
